export default {
  path: "/file",
  redirect: "/file/yaml",
  meta: {
    title: "项目管理",
    icon: "document",
    // roles: ["admin"]
    rank: 5
  },
  children: [
    {
      path: "/file/jmxManagement",
      name: "jmxManagement",
      component: () => import("@/views/file/jmxManagement/index.vue"),
      meta: {
        title: "脚本管理",
        icon: "fileSearchOutlined"
      }
    },
    {
      path: "/file/project",
      name: "project",
      component: () => import("@/views/file/project/index.vue"),
      meta: {
        title: "项目配置",
        icon: "fileSyncOutlined"
      }
    },
    {
      path: "/file/run",
      name: "run",
      component: () => import("@/views/file/run/index.vue"),
      meta: {
        title: "执行测试",
        icon: "forwardFilled"
      }
    },
    {
      path: "/file/report",
      name: "report",
      component: () => import("@/views/file/report/index.vue"),
      meta: {
        title: "查看报告",
        icon: "search"
      }
    }
  ]
};
